package com.junyi;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * 统一的消息入口
 * @time: 2021/11/15 11:23
 * @version: 1.0
 * @author: junyi Xu
 * @description:
 */
@RestController
@RequestMapping("p1")
@Slf4j
public class MyController {
    @Autowired
    NotifyServiceManagement notifyServiceManagement;



    @PostMapping("notify")
    public Integer test(@RequestParam String request) {
        return notifyServiceManagement.handle(request);
    }
}
